package cn.lovecyy.mockjson.core.type;

import cn.lovecyy.mockjson.core.domain.TypeConfig;

/**
 * PlainTypeMocker
 *
 * @author Yakir
 */
public class PlainTypeMocker implements TypeMocker {

	@Override
	public String getType() {
		return "text";
	}

	@Override
	public Object mock(TypeConfig config) {
		return config.getMainParam();
	}

}
